<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h1>商品详情</h1>
	<hr />
	<ul>
		<li>标识：${product.id }</li>
		<li>名称：${product.name }</li>
		<li>描述：${product.description }</li>
		<li>价格：${product.price }</li>
		<li>图片：<img style="height: 200px; width: 200px;"
			alt="${product.name }"
			src="${product.image }" /></li>
		<li>类型：${product.category.name }</li>
	</ul>
	<hr />
	<a
		href="../shoppingbasket/additem?productId=${requestScope.product.id }">添加到购物车</a>
	<a href="../shoppingbasket/detail">查看购物车</a>
	<hr />
	<a href="../home">返回</a>
</body>
</html>